package com.common.www.redis;


import static com.common.www.MyApplicationListener.APPLICATION_NAME;

/**
 * redis存储的常量
 */
public class RedisConstant {

    public static final String REDIS_TOKEN_DIR = "spring:" + APPLICATION_NAME + ":login_tokens";
    public static final String REDIS_LOCK_FILECOMMON = "lock:" + APPLICATION_NAME + ":filecommon";
    /**
     * 系统配置项在redis的缓存
     */
    public static final String REDIS_SYSTEM_CONFIG = "config:" + APPLICATION_NAME + ":system";

    /**
     * 设备状态控制前缀
     */
    public static final String DEVICE_STATUS_PREFIX = "spring:" + APPLICATION_NAME + ":deviceStatus:";
    /**
     * 报文监听
     */
    public static final String DEVICE_PROTOCOL_LISTENER = "spring:" + APPLICATION_NAME + ":protocol:";
    /**
     * 微信token
     */
    public static final String WECHAT_TOKEN = "spring:" + APPLICATION_NAME + ":protocol:";
}
